
import request from '@/utils/request'
//在职继承

//提交客户在职继承请求
export function takeOver(data: any) {
    return request({
        url: '/scrm-api/console/work/on-job/async-task-create',
        method: 'POST',
        data: data
    })
}

//客户筛选接口
export function handOver(data: any) {
    return request({
        url: '/scrm-api/console/work/handover/cust',
        method: 'POST',
         data
    })
}

//客户分配记录
export function takeoverList(data: any) {
    return request({
        url: '/scrm-api/console/work/on-job/takeover-list',
        method: 'GET',
        params: data
    })
}

//批量导出接口
export function handOverExport(data:any) {
    return request({
        url: '/scrm-api/console/work/handover/export',
        method: 'GET',
        params: data
    })
}

//在职-是否移交中
export function isHandovering(data:any) {
    return request({
        url: '/scrm-api/console/work/on-job/is-handovering',
        method: 'POST',
        data
    })
}
